package service.impl;

import dao.SmbmsRoleDao;
import dao.impl.SmbmsRoleDaoImpl;
import pojo.SmbmsRole;
import service.SmbmsRoleService;
import java.util.List;
public class SmbmsRoleServiceImpl implements SmbmsRoleService {
    private SmbmsRoleDao smbmsRoleDao=new SmbmsRoleDaoImpl();
    //查询所有的角色
    @Override
    public List<SmbmsRole> queryRole() throws Exception {
        return smbmsRoleDao.queryRole();
    }
}
